package com.gupaoedu.task.pattern.strategytask.schedule;

public class ScheduleResult {
    private int code;
    private Object data;
    private String msg;

    public ScheduleResult(int code, String msg, Object data) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return ("调度状态：[" + code + "]," + msg + ",任务类型：" + data);
    }
}
